﻿using DatabaseService.DatabaseDAO;
using System;

namespace DatabaseService.Model
{
    /// <summary>
    /// 常用的系统表字段
    /// 或者常数
    /// </summary>
    public class SystemCommonMapper : TableModelMapper
    {
        /// <summary>
        /// value
        /// </summary>
        public string value { get; set; }
        public string descript { get; set; }

        /// <summary>
        /// test.bdate1
        /// </summary>
        public DateTime bdate1 { get; set; }

        /// <summary>
        /// 常数使用
        /// 如select 1 ，select ‘ok’
        /// </summary>
        public string Column1 { set => result1 = (value ?? "").Trim(); }
        /// <summary>
        /// 结果返回的第一列的值
        /// </summary>
        public string result1 { get; private set; }
    }
}
